package com.ddl.pay;


import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


@XmlRootElement(name="xml")
@XmlAccessorType(XmlAccessType.FIELD)
public class UnifiedorderResult extends MchBase {

	@XmlElement
	@XmlJavaTypeAdapter(value = AdaptorCDATA.class)
		private String device_info;

	@XmlElement
	@XmlJavaTypeAdapter(value = AdaptorCDATA.class)
	private String trade_type;

	@XmlElement
	@XmlJavaTypeAdapter(value = AdaptorCDATA.class)
	private String prepay_id;

	@Override
	public String getReturn_code() {
		return return_code;
	}

	@Override
	public void setReturn_code(String return_code) {
		this.return_code = return_code;
	}

	@Override
	public String getReturn_msg() {
		return return_msg;
	}

	@Override
	public void setReturn_msg(String return_msg) {
		this.return_msg = return_msg;
	}

	@XmlElement
	@XmlJavaTypeAdapter(value = AdaptorCDATA.class)
	private String mweb_url;
	@XmlElement
	@XmlJavaTypeAdapter(value = AdaptorCDATA.class)
	private String return_code;
	@XmlElement
	@XmlJavaTypeAdapter(value = AdaptorCDATA.class)
	private String return_msg;

	public String getDevice_info() {
		return device_info;
	}

	public void setDevice_info(String device_info) {
		this.device_info = device_info;
	}

	public String getTrade_type() {
		return trade_type;
	}

	public void setTrade_type(String trade_type) {
		this.trade_type = trade_type;
	}

	public String getPrepay_id() {
		return prepay_id;
	}

	public void setPrepay_id(String prepay_id) {
		this.prepay_id = prepay_id;
	}

	public String getMweb_url() {
		return mweb_url;
	}

	public void setMweb_url(String mweb_url) {
		this.mweb_url = mweb_url;
	}

	@Override
	public String toString() {
		return "UnifiedorderResult{" + "device_info='" + device_info + '\'' + ", trade_type='" + trade_type + '\'' + ", prepay_id='" + prepay_id + '\'' + ", mweb_url='" + mweb_url + '\'' + ", return_code='" + return_code + '\'' + ", return_msg='" + return_msg + '\'' + "} " + super.toString();
	}
}
